package com.krtech.wecard.module.ramble.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com-krtech-wecard-module-ramble-entity-RambleDrawChance")
@Data
@TableName(value = "xiaoran_ramble_draw_chance")
public class RambleDrawChance implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * openid
     */
    @TableField(value = "open_id")
    @ApiModelProperty(value = "openid")
    private String openId;

    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    @ApiModelProperty(value = "昵称")
    private String nickName;

    /**
     * 电话
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "电话")
    private String phone;

    /**
     * 抽奖次数
     */
    @TableField(value = "draw_chance")
    @ApiModelProperty(value = "抽奖次数")
    private Integer drawChance;

    /**
     * 核销码
     */
    @TableField(value = "hexiao_url")
    @ApiModelProperty(value = "核销码")
    private String hexiaoUrl;

    /**
     * 核销码编号
     */
    @TableField(value = "hexiao_code")
    @ApiModelProperty(value = "核销码编号")
    private String hexiaoCode;

    /**
     * 是否核销，0:false，1:true
     */
    @TableField(value = "has_hexiao")
    @ApiModelProperty(value = "是否核销，0:false，1:true")
    private Integer hasHexiao;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_OPEN_ID = "open_id";

    public static final String COL_NICK_NAME = "nick_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_DRAW_CHANCE = "draw_chance";

    public static final String COL_HEXIAO_URL = "hexiao_url";

    public static final String COL_HEXIAO_CODE = "hexiao_code";

    public static final String COL_HAS_HEXIAO = "has_hexiao";
}